using SqlSugar;
using System;

namespace Luka.Entities.System;

/// <summary>
/// 
///</summary>
[SugarTable("SysGroupRole")]
[Tenant("System")]
public class SysGroupRole
{
    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id"  , IsPrimaryKey = true , IsIdentity = true)]
    public int Id { get; set; }
    /// <summary>
    /// 组织Id
    ///</summary>
    [SugarColumn(ColumnName = "GroupId"   )]
    public int GroupId { get; set; }
    /// <summary>
    /// 角色Id
    ///</summary>
    [SugarColumn(ColumnName = "RoleId"   )]
    public int RoleId { get; set; }
    /// <summary>
    /// 创建时间
    ///</summary>
    [SugarColumn(ColumnName = "Created" , IsNullable = true  )]
    public DateTime? Created { get; set; }
    /// <summary>
    /// 创建人
    ///</summary>
    [SugarColumn(ColumnName = "Creater" , IsNullable = true  )]
    public string? Creater { get; set; }
}
